package com.yungee.flow;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeComponent;
import com.yungee.flow.context.OrderContext;
import lombok.extern.slf4j.Slf4j;

@LiteflowComponent("ccmp")
@Slf4j
public class CCmp extends NodeComponent {

	@Override
	public void process() {
		log.info("CCmp executed");
		OrderContext orderContext = this.getContextBean(OrderContext.class);
		orderContext.setC("c");
		//do your business
	}
}